package com.lyq.permission.mapper;

import com.lyq.basic.mapper.BaseMapper;
import com.lyq.permission.domain.Permission;
import com.lyq.permission.query.PermissionQuery;

import java.util.List;

/**
 * @Author:liangyunqian
 * @Date: 2022/12/13  20:18
 * @Description:
 */
public interface PermissionMapper extends BaseMapper<Permission> {
    void deleteAll();

    List<Permission> tree();

    List<String> getPermissionSnsByLoginUserId(Long loginUserId);
}
